#include "name.h"

//constructor. Assign type1.
Name::Name(std::string type):
    itsType(type){}

//destructor. Does nothing.
Name::~Name(){}

//Set name/identifier's Id.
void Name::SetId(UINT id)
{
    itsId = id;
}

//Get name/identifier's Id.
UINT Name::GetId() const
{
    return itsId;
}

//Set pointer to name/identifier in file.
void Name::SetPointer(UINT pointer)
{
    itsPointer = pointer;
}

//Get pointer to name/identifier in file.
UINT Name::GetPointer() const
{
    return itsPointer;
}

//Get type1.
std::string Name::GetType() const
{
    return itsType;
}

//Set type2.
void Name::SetType2(std::string type2)
{
    itsType2 = type2;
}

//Get type2.
std::string Name::GetType2() const
{
    return itsType2;
}

//Set type3.
void Name::SetType3(std::string type3)
{
    itsType3 = type3;
}

//Get type3.
std::string Name::GetType3() const
{
    return itsType3;
}

//Set name.
void Name::SetName(std::string name)
{
    itsNameSize = name.size();
    itsName = name;
}

//Get name.
std::string Name::GetName() const
{
    return itsName;
}

//Set new name.
void Name::SetNewName(std::string name)
{
    itsNewNameSize = itsNewName.size();
    itsNewName = name;
}

//Get new name.
std::string Name::GetNewName() const
{
    return itsNewName;
}

//Get name size.
UINT Name::GetNameSize() const
{
    return itsNameSize;
}

//Get new name size.
UINT Name::GetNewNameSize() const
{
    return itsNewNameSize;
}

